package com.gexin.thread;

import com.jfinal.kit.HttpKit;
import com.jfinal.kit.LogKit;

public class MainThread extends Thread {
	public static void main(String[] args) throws InterruptedException {
		String url  =  "http://acs.m.taobao.com/h5/mtop.taobao.detail.getdetail/6.0/?appKey=12574478&api=mtop.taobao.detail.getdetail&v=6.0&ttid=2016@taobao_h5_2.0.0&isSec=0&ecode=0&AntiFlood=true&AntiCreep=true&H5Request=true&type=jsonp&dataType=json&callback=&data=%7B%22exParams%22%3A%22%7B%22id%22%3A%22538273506984%22%7D%22%2C%22itemNumId%22%3A%22538273506984%22%7D";
		System.err.println(HttpRequest.sendGet(url));
		
		/*
		for(int i=0;i<=2000;i++){
			for(int s=0;s<=10;s++){
				NewThread hand =new NewThread(s+"x");
				hand.run();
			}
			Thread.sleep(1000);
		}
		
		
	*/}
}
class NewThread implements Runnable {
	 private  String headnname;
	public NewThread(String headnname){
		this.headnname=headnname;
	}
	
    @Override
    public void run() {
    /*	try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}*/
     LogKit.info(headnname);
      
    }

}